﻿<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="author" content="m.ehaier.com">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" name="viewport" />
    <meta name="format-detection" content="telephone=no" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <meta content="false" id="twcClient" name="twcClient" />
    <link type="text/css" rel="stylesheet" href="/shop/templates/haier/css/style_1.css">
    <link rel="apple-touch-icon-precomposed" href="{$shopconfig.logo}" />
    <link rel="shortcut icon" type="image/x-icon" href="{$shopconfig.logo}" />
    <script type="text/javascript" src="/shop/templates/haier/js/zepto.js"></script>
    <script type="text/javascript" src="/shop/templates/haier/js/gs.js"></script>
    <script type="text/javascript" src="/shop/templates/haier/js/mediav.js"></script>
    <title>{$shopconfig.shopName}</title>
    <link type="text/css" rel="stylesheet" href="/shop/templates/haier/css/list.css">
    <link type="text/css" rel="stylesheet" href="/shop/templates/haier/css/member.css">
    <script type="text/javascript" src="/shop/templates/haier/js/touch.js"></script>
    <script type="text/javascript">
        $(function () {
            //统计购物车数量
            $.getJSON("/shop/shopmgr.ashx?wid={$wid}&openid={$openid}&myact=pcount&v=" + Math.random(), function (d, status) {
                $("#count").text(d.data);

            });
        });

    </script>

</head>
<body>
    <!--======header=====-->
    <header class="header">
        <span class="fh left"><a href="javascript:history.back(1)">&nbsp;</a></span>    导航
    <span class="hd_right right">
        <a class="gwc" href="{$carturl}"><span id="count"></span>&nbsp;</a>
        <a class="right_but" href="/shop/navigate.aspx?wid={$wid}&openid={$openid}">&nbsp;</a>
    </span>
    </header>
    <!--======main=====-->
    <div class="gncd_bottom">
        <a href="{$indexurl}">
            <span class="micon icon-nav-home"></span>
            <p>首页</p>
        </a>
        <!--分类信息 -->
        <vt:function var="category" method="getCategory" type="$this" rows="7" />
        <vt:foreach from="$category" item="c" index="i">
                <a href="{$c.link_url}">
                <img src="{$c.ico_url}" style="display: block;width: 35px;height: 30px;margin: 15px auto 0 auto;"/>
              <p>{$c.title}</p>
    	</a>
        </vt:foreach>
        <!--分类信息 end -->
        <a href="/shop/userinfo.aspx?wid={$wid}&openid={$openid}">
            <span class="micon icon-nav-order"></span>
            <p>订单查询</p>
        </a>
        <a href="javascript:vid(0);" class="lxkf">
            <span class="micon icon-nav-contact"></span>
            <p>联系客服</p>
        </a>

    </div>
    <!--_share_js-->
    <vt:template id="_bottom" file="_bottom.html" charset="utf-8" />
    <!--/_share_js-->
    <vt:set var="orderby" value="id asc" id="norderby" />
    <vt:set var="pagesize" value="116" id="npagesize" />
    <!--联系客服-->
    <div class="tc2" style="display: none;">
        <div class="kf_top">
            <a href="tel:{$shopconfig.tel}">
                <p class="dh">{$shopconfig.tel}</p>
            </a>
            <p class="tc_cg"></p>
        </div>
        <div class="tc_button">
            <ul>
                <li><a href="tel:4008-281-919">拨打咨询</a></li>
                <li><a href="javascript:void(0)" class="lxkf_close">取消</a></li>
            </ul>
        </div>
    </div>

    <script type="text/javascript">

        //联系客服打开
        $(".lxkf").click(function () {
            if ($('#load_mask').length) { }
            else {
                var h = $(document.body).height() + "px";
                $("<div id='load_mask' class='tc_zz' style='height:" + h + "' />").appendTo("body");
            }
            $("#load_mask").show();
            var t = $(window).scrollTop(), h = $(window).height(), iTop = 0;
            iTop = ((h - $(".tc2").height()) / 2 + t) + "px";
            $(".tc2").css("top", iTop).show();

        })
        //联系客服关闭
        $(".lxkf_close").click(function () {
            $(".tc2").hide();
            $("#load_mask").hide();
        })
    </script>
</body>
</html>
